<?php

$section = 'testimonial';
$titre = _LB_TESTIMONIAL_MANAGEMENT;
$smarty->assign('titre', $titre);

$id = Request::getIntNumber('id');
$backlink = Session::getBackLink('testimonial');
$currentlink = APPLICATION_URL . "/testimonial/delete/?id=". $id;

$testiminial = new Testimonial();
if(!$testiminial->get($id))
	redirect($backlink);

$testiminial->delete();

redirect($backlink);